import { createContext } from 'react'
interface ContextObj {
    historyArr: any[],
    changeHistory: (arr: any[], type: string) => void
}
const Context = createContext({
    historyArr: [],
    changeHistory: (arr, type) => { },
} as ContextObj);
export default Context;